<%@ page contentType="text/plain;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>

<c:set var="machinePosition" scope="page" value="${data}"/>

<c:if test="${!(empty callback)}">${callback}(</c:if>{
  "chassisNo":"${machinePosition.chassisNo}",
  "longitude":${machinePosition.longitude},
  "latitude":${machinePosition.latitude},
  "altitude":${machinePosition.altitude},
  "reverseGeocoding":"${machinePosition.reverseGeocoding}",
  "timestamp":"${machinePosition.timestamp}",
  "fuelLevel":${machinePosition.fuelLevel},
  "state":${machinePosition.state}
}<c:if test="${!(empty callback)}">)</c:if>